﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RedMoon.Handler.Main
{
    /// <summary>
    /// CreateFile 的摘要说明
    /// </summary>
    public class CreateFile : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            System.IO.File.AppendAllText(context.Server.MapPath(".") + "/test.txt", "写呀写文件呀" + DateTime.Now.ToShortTimeString());
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}